﻿using FluentNHibernate.Mapping;
using Kratos.Framework.ContentManagement.Models;

namespace Kratos.Framework.ContentManagement.Maps
{
    public class ActionPermissionMap : ClassMap<ActionPermission>
    {
        public ActionPermissionMap()
        {
            Id(m => m.Id).GeneratedBy.Identity();
            Map(m => m.ActionName);
            Map(m => m.ControllerName);
            Map(m => m.ActionDescription);
            Map(m => m.ControllerDescription);
        }
    }
}
